package com.jd.seg;

import java.util.ArrayList;
import java.util.List;

public class SegResult {
	
	/**
	 * 未登录词
	 */
	private List<Word> notLonginWords = new ArrayList<Word>();
	
	/**
	 * 分词后的结果
	 */
	private List<Word> words = new ArrayList<Word>();
	

	public List<Word> getNotLonginWords() {
		return notLonginWords;
	}

	public void setNotLonginWords(List<Word> notLonginWords) {
		this.notLonginWords = notLonginWords;
	}

	public List<Word> getWords() {
		return words;
	}

	public void setWords(List<Word> words) {
		this.words = words;
	}
	
	/**
	 * 总词数
	 */
	public int getWordsCount() {
		return words.size();
	}
	
	/**
	 * 未登录词数量
	 */
	public int getNotLonginWordsCount() {
		return notLonginWords.size();
	}

}
